Advanced Architecting on AWS
TGW Advanced โข Peering โข PrivateLink โข Shared VPCs
| Feature | Description | Use Case |
|---|---|---|
| TGW Peering | Connect TGWs across Regions (inter-region) or accounts | Multi-region hub-and-spoke |
| Multicast | One-to-many traffic distribution via IGMP | Financial data feeds, media streaming |
| TGW Connect | GRE + BGP attachment for SD-WAN appliances | Third-party SD-WAN integration |
| Network Manager | Global view of TGW topology and routing | Centralized network monitoring |
| Route Table Segmentation | Multiple route tables per TGW | Isolate prod/dev while sharing services |
| Aspect | VPC Peering | Transit Gateway |
|---|---|---|
| Topology | Point-to-point (full mesh needed) | Hub-and-spoke (centralized) |
| Transitive routing | NOT supported | Supported (via route tables) |
| Cross-Region | Yes (inter-region peering) | Yes (TGW peering) |
| Bandwidth | No limit (AWS backbone) | 50 Gbps per attachment |
| Cost | Data transfer only | Per-hour + per-GB (more expensive) |
| Scale | Manageable up to ~10 VPCs | Scales to 5,000 attachments |
Centralized Egress
Single NAT Gateway/Firewall VPC. All spoke VPCs route internet traffic through TGW to central egress.
Centralized Ingress
ALB/NLB in shared services VPC. Route to spoke VPCs via TGW or PrivateLink.
Inspection VPC
AWS Network Firewall in dedicated VPC. TGW routes all inter-VPC and egress traffic through it.
Service VPC Pattern
Shared services (AD, DNS, CI/CD) in dedicated VPC. Expose via PrivateLink or TGW routing.
# Create VPC Endpoint Service (provider side) aws ec2 create-vpc-endpoint-service-configuration \ --network-load-balancer-arns arn:aws:elasticloadbalancing:...:net/my-nlb/xxx \ --acceptance-required # Create Interface VPC Endpoint (consumer side) aws ec2 create-vpc-endpoint --vpc-id vpc-consumer \ --service-name com.amazonaws.vpce.us-east-1.vpce-svc-xxxx \ --vpc-endpoint-type Interface \ --subnet-ids subnet-xxxx --security-group-ids sg-xxxx # Accept endpoint connection (provider side) aws ec2 accept-vpc-endpoint-connections \ --service-id vpce-svc-xxxx --vpc-endpoint-ids vpce-xxxx
Q1: A company has 50 VPCs needing connectivity with network segmentation between prod and dev. Which solution is most appropriate?
A) VPC Peering (full mesh) B) Transit Gateway with multiple route tables C) PrivateLink D) Shared VPCs
Q2: What change did cross-region PrivateLink (Nov 2025) enable?
A) PrivateLink over the internet B) Interface endpoints connecting to services in other Regions C) Gateway endpoints across regions D) PrivateLink without NLB
TGW Advanced
Peering (cross-region), Multicast, Connect (SD-WAN). Route table segmentation for isolation.
PrivateLink
Private service access via ENIs. No peering needed. NEW: Cross-region support (Nov 2025).
VPC Sharing
RAM shares subnets. Owner manages networking. Participants launch resources. Reduces VPC sprawl.
Patterns
Centralized egress/ingress, inspection VPC, service VPC. Design for your scale and security needs.